// Interface.h: interface for Opengl.
//
//////////////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include <GL/glaux.h>


class CInterface  
{
public:
	CInterface();
	CInterface(unsigned int w, unsigned int h);
	AUX_RGBImageRec* Loadbmp(char *Filename);
	GLvoid ReSizeGLScene(GLsizei width, GLsizei height);
	GLvoid KillGLWindow(GLvoid);
	BOOL CreateGLWindow(WNDPROC wndproc, char* title, int width, int height, int bits, bool fullscreenflag);
	int SetWindow(WNDPROC wndproc);
	virtual ~CInterface();
public:
	HDC			hDC;		// Private GDI Device Context
	HGLRC		hRC;		// Permanent Rendering Context
	HWND		hWnd;		// Holds Our Window Handle
	HINSTANCE	hInstance;		// Holds The Instance Of The Application

    bool	keys[256];			// Array Used For The Keyboard Routine
    bool	active;		// Window Active Flag Set To TRUE By Default
    bool	fullscreen;	// Fullscreen Flag Set To Fullscreen Mode By Default

    unsigned int ScreenWidth;    // Screen Resolution width
    unsigned int ScreenHeight;   // Screen Resolution height

};
